<?php echo $this->fetch('member.header.html'); ?>
<style>
    .information{width:600px;}
    .plug-menu{border-radius: 36px;box-shadow: 0 0 0 4px #FFFFFF, 0 2px 5px 4px rgba(0, 0, 0, 0.25);height: 36px;position: relative;width: 36px;margin:0 auto;}
    .plug-menu span {display: block;height: 28px;left: 4px;overflow: hidden;position: absolute;text-indent: -999px;top: 4px;width: 28px;}
</style>

<div class="content">
    <?php echo $this->fetch('member.menu.html'); ?>
    <div id="right">    
        <?php echo $this->fetch('member.curlocal.html'); ?>
        <?php echo $this->fetch('member.submenu.html'); ?>
        <div class="wrap">
            <div class="public_select table">
                <table>
                    <tr class="gray">
                        <th align='center' width='20%'>效果图</th>
                        <th align='center' width='40%'>链接</th>
                        <th align='center' width='20%'>名称</th>
                        <th align='center' width='20%'>操作</th>
                    </tr>
                    <?php $_from = $this->_var['kmenusinfo']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'info');if (count($_from)):
    foreach ($_from AS $this->_var['info']):
?>
                    <tr class="line <?php if (($this->_foreach['v']['iteration'] == $this->_foreach['v']['total'])): ?>last_line<?php endif; ?>">
                        <td align='center'>
                            <div class="plug-menu" style="background-color: #<?php echo $this->_var['info']['color']; ?>;">
                                <span class="close" style="background:url('<?php echo $this->_var['info']['imgurl']; ?>') no-repeat scroll 0 0 / 28px 28px rgba(0, 0, 0, 0);">
                                </span>
                            </div>
                        </td>
                        <td align='center'><?php echo $this->_var['info']['loadurl']; ?></td>
                        <td align='center'><?php echo $this->_var['info']['title']; ?></td>
                        <td align='center'>
                            <a href="<?php echo url('app=kmenus&act=edit&id='); ?><?php echo $this->_var['info']['kmenusinfo_id']; ?>">编辑</a>
                            <a style="margin-left:10px;" href="javascript:drop_confirm('您确定要删除吗？','<?php echo url('app=kmenus&act=drop&id='); ?><?php echo $this->_var['info']['kmenusinfo_id']; ?>');">删除</a>
                        </td>
                    </tr>
                    <?php endforeach; else: ?>
                    <tr><td class="member_no_records" colspan="4">没有符合条件的记录</td></tr>
                    <?php endif; unset($_from); ?><?php $this->pop_vars();; ?>
                </table>
            </div>
        </div>
    </div>
</div>
<?php echo $this->fetch('footer.html'); ?>

